package javabasic.threads.cunqian;

public class BankCount {
    private int sum=0;
    public synchronized void add(){
        sum+=100;
    }
    public int getSum(){
        return sum;
    }
}
